

#ifndef _SHELL_REQREGISTERUSER_MESSAGE_H_
#define _SHELL_REQREGISTERUSER_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqRegisterUserMessage : public Message
{
	public:
	ReqRegisterUserMessage();
	~ReqRegisterUserMessage();
	void reset();
	ReqRegisterUserMessage* clone();
	static const int _ID;
	//用户名
	std::string userName;
	//密码
	std::string userPass;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
